.class Lcom/instagram/android/fragment/ej;
.super Lcom/instagram/android/d/e/s;
.source "MainFeedFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/dw;

.field private e:Ljava/io/File;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/dw;Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 304
    iput-object p1, p0, Lcom/instagram/android/fragment/ej;->a:Lcom/instagram/android/fragment/dw;

    invoke-direct {p0, p2, p3, p4}, Lcom/instagram/android/d/e/s;-><init>(Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;)V

    return-void
.end method


# virtual methods
.method public a(Lch/boye/httpclientandroidlib/HttpResponse;)V
    .locals 3
    .parameter

    .prologue
    .line 343
    invoke-super {p0, p1}, Lcom/instagram/android/d/e/s;->a(Lch/boye/httpclientandroidlib/HttpResponse;)V

    .line 347
    const-string v0, "X-QE-Sticky-Share"

    invoke-interface {p1, v0}, Lch/boye/httpclientandroidlib/HttpResponse;->getFirstHeader(Ljava/lang/String;)Lch/boye/httpclientandroidlib/Header;

    move-result-object v0

    .line 348
    if-eqz v0, :cond_0

    .line 349
    invoke-interface {v0}, Lch/boye/httpclientandroidlib/Header;->getValue()Ljava/lang/String;

    move-result-object v1

    const-string v2, "enabled"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 350
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/m/b/a;->m(Z)V

    .line 355
    :cond_0
    :goto_0
    return-void

    .line 351
    :cond_1
    invoke-interface {v0}, Lch/boye/httpclientandroidlib/Header;->getValue()Ljava/lang/String;

    move-result-object v0

    const-string v1, "disabled"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 352
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/m/b/a;->m(Z)V

    goto :goto_0
.end method

.method protected a(Lcom/instagram/android/d/b/c;)V
    .locals 2
    .parameter

    .prologue
    .line 359
    invoke-super {p0, p1}, Lcom/instagram/android/d/e/s;->a(Lcom/instagram/android/d/b/c;)V

    .line 361
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->w()Ljava/lang/String;

    move-result-object v0

    .line 362
    invoke-static {v0}, Lcom/facebook/c/i/c;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/m/b/a;->x()Z

    move-result v1

    if-nez v1, :cond_0

    .line 364
    const-string v1, "last_unseen_ad_id"

    invoke-virtual {p1, v1, v0}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 366
    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;Lcom/fasterxml/jackson/a/l;Lcom/instagram/android/d/j/r;)Z
    .locals 2
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/fasterxml/jackson/a/l;",
            "Lcom/instagram/android/d/j/r",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)Z"
        }
    .end annotation

    .prologue
    .line 326
    const-string v0, "survey"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 327
    invoke-virtual {p3}, Lcom/instagram/android/d/j/r;->h()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/k;

    .line 328
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 330
    if-nez v0, :cond_0

    .line 331
    new-instance v0, Lcom/instagram/android/model/k;

    invoke-direct {v0}, Lcom/instagram/android/model/k;-><init>()V

    .line 332
    invoke-virtual {p3, v0}, Lcom/instagram/android/d/j/r;->a(Ljava/lang/Object;)V

    .line 335
    :cond_0
    invoke-static {p2}, Lcom/instagram/h/b/f;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/h/b/b;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/k;->a(Lcom/instagram/h/b/b;)V

    .line 336
    const/4 v0, 0x1

    .line 338
    :goto_0
    return v0

    :cond_1
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/android/d/e/s;->a(Ljava/lang/String;Lcom/fasterxml/jackson/a/l;Lcom/instagram/android/d/j/r;)Z

    move-result v0

    goto :goto_0
.end method

.method protected j()Ljava/lang/String;
    .locals 1

    .prologue
    .line 319
    const-string v0, "feed/timeline/"

    return-object v0
.end method

.method public r()Ljava/io/File;
    .locals 1

    .prologue
    .line 311
    iget-object v0, p0, Lcom/instagram/android/fragment/ej;->e:Ljava/io/File;

    if-nez v0, :cond_0

    .line 312
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ej;->p()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/fragment/dw;->b(Landroid/content/Context;)Ljava/io/File;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/ej;->e:Ljava/io/File;

    .line 314
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/ej;->e:Ljava/io/File;

    return-object v0
.end method
